package com.ruoyi;

import com.ruoyi.common.core.domain.AjaxResult;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;

import static com.ruoyi.common.core.domain.AjaxResult.success;

/**
 * @author silence
 * @date 2024-11-29 16:54
 */
@Api(value = "用于健康检查", produces = "application/json;charset=UTF-8")
@RestController
@RequestMapping("/api")
public class HealthController {


    @GetMapping("/health")
    public AjaxResult health(){
        return success("ok");
    }
}
